# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-asus-duma
pkgdesc="ASUS MeMO Pad FHD 10 (ME302KL)"
pkgver=0.1
pkgrel=5
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-asus-duma mkbootimg mesa-dri-swrast msm-fb-refresher"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

nonfree_firmware() {
	pkgdesc="Wifi firmware"
	depends="firmware-asus-duma"
	mkdir "$subpkgdir"
}

sha512sums="be5a09e3adb157ec885587eccb2d03035b8c53fd3c971c0828aac652408149ee4f37334f1486ba3c7756b0a380e27225a8d91dda1534bf977d540cf757df96ec  deviceinfo"
